$OpenBSD: patch-Makefile,v 1.2 2013/03/13 09:01:35 benoit Exp $

Copy missing file for python3 flavor and remove non supported cp option.

--- Makefile.orig	Tue Feb  7 22:44:32 2012
+++ Makefile	Mon Mar 11 23:37:03 2013
@@ -29,7 +29,7 @@ build:
 check: build tests/pyrun2
 	PYTHONPATH=`pwd`/$(BUILD_DIR):$$PYTHONPATH \
 	ROOT_PATH=$(ROOT_PATH) \
-	$(PYTHON) `which nosetests` -v -s -w tests
+	$(PYTHON) tests/setproctitle_test.py -v
 
 tests/pyrun2: tests/pyrun.c
 	$(CC) $(PYINC) -o $@ $< $(PYLIB)
@@ -48,9 +48,10 @@ py3: MANIFEST
 	$(MKDIR) py3
 	$(MKDIR) py3/src
 	$(MKDIR) py3/tests
-	for f in `grep -v "#" MANIFEST`; do cp -v $$f py3/$$f; done
+	for f in `grep -v "#" MANIFEST`; do cp $$f py3/$$f; done
 	# setup.py should be executable with python3 as distribute
 	# currenlty doesn't seem to try to convert it
+	cp tests/setproctitle_test.py py3/tests
 	$(PY2TO3) -w --no-diffs py3/tests
 
 tests/pyrun3: tests/pyrun.c
